#ifndef ANIMAL_H
#define ANIMAL_H
#include "lw_include.h"

#define ANIMAL(_object_)	((animal*)(_object_))

typedef struct _animal animal;
struct _animal
{
/*private data*/
	char name[256];
	int weight;
};

animal* animal_create(void);
void animal_destroy(animal* self); 
char* animal_get_name(animal* self);
void animal_set_name(animal* self, char* name);
int animal_get_weight(animal* self);
void animal_set_weight(animal* self, int weight);

#endif
